from common.mysql_operate import db

class Dinging_hall_store():
    def list(self):
        sql = "SELECT * FROM dininghall"
        return db.select_db(sql)

    def randQuery(self):
        sql = "SELECT * FROM dininghall ORDER BY RAND() limit 1"
        return db.select_db(sql)
